package
{
	import flash.display.DisplayObject;
	import flash.display.Shape;
	import flash.display.SimpleButton;
	import flash.text.TextField;


	public class CustomSimpleButton extends SimpleButton
	{
		private var upColor:uint   = 0xFFCC00;
		private var overColor:uint = 0xCCFF00;
		private var downColor:uint = 0x00CCFF;	
		
		
		public function CustomSimpleButton(width:uint=80,height:uint=20,text:String="button") {
			downState      = new ButtonDisplayState(downColor, width,height,text);
			overState      = new ButtonDisplayState(overColor, width,height,text);
			upState        = new ButtonDisplayState(upColor, width,height,text);
			hitTestState   = new ButtonDisplayState(upColor, width,height,text);
			useHandCursor  = true;		
		}

	}
}